package cn.oms.dict.provider.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author AllenChen曾晨
 * @since 2022-04-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("number_unit")
@ApiModel(value="NumberUnit对象", description="")
public class NumberUnit implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID(新增生成)")
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "数量单位CODE")
    @TableField("NUMBER_UNIT_CODE")
    private String numberUnitCode;

    @ApiModelProperty(value = "单位名称（英文）（g、hour）")
    @TableField("UNIT_NAME_EN")
    private String unitNameEn;

    @ApiModelProperty(value = "单位名称（中文）（克、小时）")
    @TableField("UNIT_NAME_CN")
    private String unitNameCn;

    @ApiModelProperty(value = "单位名称（简称）（中文）")
    @TableField("UNIT_NAME_SN_CN")
    private String unitNameSnCn;

    @ApiModelProperty(value = "单位名称（简称）（英文）")
    @TableField("UNIT_NAME_SN_EN")
    private String unitNameSnEn;

    @ApiModelProperty(value = "删除标记")
    @TableField("DEL_FLAG")
    private Integer delFlag;


}
